﻿<!DOCTYPE html>
@{
    var _newpage = Request["_newpage"] == "true" || ViewBag._newpage == "true";
}
<html>
<head>
    <meta content="width=device-width,minimum-scale=1.0" name="viewport">
    <meta name="format-detection" content="telephone=no">
    <meta name="format-detection" content="address=no">
    <meta http-equiv="content-type" content="text/html;charset=utf-8">
    <title>@ViewBag.Title</title>
    @Html.Partial("CommonCssLinks")
    @Html.Partial("CommonScripts")
    <style type="text/css">
        
    </style>
    @if (!string.IsNullOrEmpty(Request["_MsgBox"]))
    {
        <script type="text/javascript" language="javascript">
            $(function () {
                alert("@(Request["_MsgBox"])");
            });
        </script>
    }
</head>
<body>
    <div id="dialogbox">
    </div>
    <div id="OnLoadingSpan" class="loadding">
        &nbsp;</div>
    <div class="page">
        @Html.Partial("ProfileBar")
        <div class="banner">
        </div>
        @Html.Partial("SiteMenu")
        @*        <div class="tip" style="margin:4px;">系统正在升级维护过程。期间您可以正常使用，但是部分2013年7月2日前的数据可能不能查看或查看不完整。升级结束后数据将会全部恢复正常。</div>
*@
        <section id="main">
            @RenderBody()
        </section>
        @if (_newpage)
        {
            <br />
            <br />
            <p style="text-align: center;">
                <button onclick="window.parent=null;window.close();">
                    关闭窗口</button></p>
        }
    </div>
    <footer>
        @Html.Partial("_FooterInnerPartial")
        </footer>
</body>
</html>
